class CreateDiscountSettings < ActiveRecord::Migration[5.0]
  def change
    create_table :discount_settings do |t|
      t.boolean :is_open,default: false
      t.integer :restaurant_id
      t.integer :limit_sell,default: 1
      t.timestamps
    end
  end
end
